<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    li{
      width: 400px;
      height: 50px;
      background-color: #e1e7d3;
      margin-top: 20px;
    }
  </style>
</head>
<body>
  <div id="app">
    firstName: <input type="text" v-model="firstName">
    lastName: <input type="text" v-model="lastName">
    ===>
    {{ fullName }}
  </div>
  <script src="./vue.global.js"></script>
  <script>
    const { createApp } = Vue;
    const  app = createApp({
      data(){
        return {
          firstName: '',
          lastName: ''
        }
      },
      computed: {
        fullName(){
          return this.firstName + ' ' + this.lastName
        }
      }
    })

    app.mount('#app')
  </script>
</body>
</html>